home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / General / GCC 1.37.1r15 / Documents / Installing GCC < prev    next >
Text File  |  1993-01-14  |  2KB  |  35 lines

  1. INSTALLATION
  2.  
  3. To install GCC, just copy the contents of the Tools and Scripts folders into
  4. your usual MPW folders.
  5.  
  6. CHANGING THE SHELL
  7.  
  8. The MPW partition size will need to be rather large; 3000K seems to be enough usually.
  9.  
  10. Also, the MPW stack MUST BE INCREASED to 128K. This is done by editing the HEXA
  11. resource of the shell to be "0002 0000" (it's normally "0000 0000").  If you neglect
  12. this, GCC will most likely overflow the stack and crash your Mac in some mysterious
  13. way.
  14.  
  15. (This is because GCC makes heavy use of a "true alloca" that does temporary
  16. allocation on the stack;  which is very efficient but sometimes uses huge amounts
  17. of stack space.  We haven't yet encountered any program that needed more than 128K
  18. of stack, but "your mileage may vary".  Note that this is not a problem for GCC
  19. compiled by MPW C, which uses a "fake alloca" based on malloc.)
  20.  
  21. INSTALLING THE DOCUMENTATION
  22.  
  23. The help files GCC.Help may be appended to MPW.Help, or else accessed using the
  24. -f option to help.  There is a Commando interface as well.
  25.  
  26. The Documents folder contains the long manuals for CCCP and GCC.
  27.  
  28. CCCP and GCC each have their own manuals which are in TeX format (files
  29. cpp.texinfo and gcc.texinfo in the Documents folder).
  30. Both the commercial Mac application Textures and the shareware program
  31. OzTeX can format and print the manuals, as long as the TeX macro file texinfo.tex
  32. (also in Documents) is available.  TeX is also available on many other machines.
  33.  
  34. If you don't have TeX, the TeX input text is readable, if somewhat ugly.
  35.